package com.bwie.kanjia.vo;

import java.text.DecimalFormat;

/**
 * @author ShuangyeZhao
 * @date 2022/3/13
 */
public class text {
    public static void main(String[] args) {

        double d = 10 - Math.random() * (10 - 1);
        DecimalFormat df = new DecimalFormat("0.00");


        System.out.println(df.format(d));
    }
}
